package ar.edu.caece.compiler.grammar.nonterminals;

import ar.edu.caece.compiler.grammar.NonTerminalSymbol;

public class LISTADECLAGLOBAL1 extends NonTerminalSymbol implements LISTADECLAGLOBAL {
	
	private DECLAGLOBAL declaglobal;
	private LISTADECLAGLOBAL listadeclaglobal;

	public LISTADECLAGLOBAL1(DECLAGLOBAL declaglobal,
			LISTADECLAGLOBAL listadeclaglobal) {
		super();
		this.declaglobal = declaglobal;
		this.listadeclaglobal = listadeclaglobal;
	}

	@Override
	public String getRepresentation() {
		// TODO Auto-generated method stub
				return "{"+this.getClass().getSimpleName()+" -> "+declaglobal.getRepresentation()+" "+listadeclaglobal.getRepresentation()+"}";
	}

	public DECLAGLOBAL getDeclaglobal() {
		return declaglobal;
	}

	public LISTADECLAGLOBAL getListadeclaglobal() {
		return listadeclaglobal;
	}

}
